package com.gxa.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
@ApiModel(value = "工单的实体")
public class RepairOrder {
  @ApiModelProperty(name = "repair_id",notes = "主键，不传值",dataType = "String",required = false)
  private long repair_id;
  @ApiModelProperty(name = "customer_id",notes = "外键客户id",dataType = "String",required = false)
  private long customer_id;
  @ApiModelProperty(name = "customer_id",notes = "外键联系人id",dataType = "String",required = false)
  private long contact_id;
  @ApiModelProperty(name = "type_name",notes = "工单类型",dataType = "String",required = true)
  private String type_name;
  @ApiModelProperty(name = "reserve_employee_name",notes = "指派人员姓名",dataType = "String",required = true)
  private String reserve_employee_name;
  @ApiModelProperty(name = "initiate_date",notes = "发起时间",dataType = "String",required = false)
  private Date initiate_date;
  @ApiModelProperty(name = "start_date",notes = "起始时间",dataType = "String",required = false)
  private Date start_date;
  @ApiModelProperty(name = "end_date",notes = "结束时间",dataType = "String",required = false)
  private Date end_date;
  @ApiModelProperty(name = "traffic_name",notes = "交通工具",dataType = "String",required = true)
  private String traffic_name;
  @ApiModelProperty(name = "travel_contact",notes = "差旅联系人信息",dataType = "String",required = true)
  private String travel_contact;
  @ApiModelProperty(name = "job_description",notes = "工作描述",dataType = "String",required = true)
  private String job_description;
  @ApiModelProperty(name = "attachment",notes = "附件，未使用字段",dataType = "String",required = false)
  private String attachment;
  @ApiModelProperty(name = "initiate_employee_name",notes = "发起人姓名",dataType = "String",required = true)
  private String initiate_employee_name;
  @ApiModelProperty(name = "dispose_status",notes = "处理状态,0未处理，1 处理中，2已完成，默认为0未处理",dataType = "String",required = false)
  private long dispose_status;
  @ApiModelProperty(name = "dispose_date",notes = "处理日期",dataType = "String ",required = false)
  private Date dispose_date;
  @ApiModelProperty(name = "dispose_note",notes = "处理备注",dataType = "String",required = false)
  private String dispose_note;
  //搜索时发起时间的结束时间
  private Date initiate_endDate;
  //搜索时起始时间的结束时间
  private Date start_endDate;
  //搜索时结束时间的结束时间
  private Date end_endDate;
  private Customer customer;
  private Contact contact;
  private String result;
  private Integer workSheetNumber;
  private Integer DocumentNumber;

  //高级搜索发起人姓名
  @ApiModelProperty(name = "search_initiate_employee_name",notes = "高级搜索发起人姓名",dataType = "String",required = true)
  private String search_initiate_employee_name;
  //高级搜索指派人员姓名
  @ApiModelProperty(name = "search_reserve_employee_name",notes = "高级搜索指派人姓名",dataType = "String",required = true)
  private String search_reserve_employee_name;

  public Integer getWorkSheetNumber() {
    return workSheetNumber;
  }

  public void setWorkSheetNumber(Integer workSheetNumber) {
    this.workSheetNumber = workSheetNumber;
  }

  public Integer getDocumentNumber() {
    return DocumentNumber;
  }

  public void setDocumentNumber(Integer documentNumber) {
    DocumentNumber = documentNumber;
  }

  public String getResult() {
    return result;
  }

  public void setResult(String result) {
    this.result = result;
  }

  //客户名称
  @ApiModelProperty(name = "customer_name",notes = "客户名称",dataType = "String",required = false)
  private String customer_name;
    //手机号码
    @ApiModelProperty(name = "phone",notes = "手机号码",dataType = "String",required = false)
    private String phone;
  //客户联系人
  @ApiModelProperty(name = "contact_name",notes = "客户联系人",dataType = "String",required = false)
  private String contact_name;
  private Document document;

  public Document getDocument() {
    return document;
  }

  public void setDocument(Document document) {
    this.document = document;
  }

  public long getRepair_id() {
    return repair_id;
  }

  public void setRepair_id(long repair_id) {
    this.repair_id = repair_id;
  }

  public long getCustomer_id() {
    return customer_id;
  }

  public void setCustomer_id(long customer_id) {
    this.customer_id = customer_id;
  }

  public long getContact_id() {
    return contact_id;
  }

  public void setContact_id(long contact_id) {
    this.contact_id = contact_id;
  }

  public String getType_name() {
    return type_name;
  }

  public void setType_name(String type_name) {
    this.type_name = type_name;
  }
  public String getReserve_employee_name() {
    return reserve_employee_name;
  }
  public void setReserve_employee_name(String reserve_employee_name) {
    this.reserve_employee_name = reserve_employee_name;
  }

  public String getTraffic_name() {
    return traffic_name;
  }

  public void setTraffic_name(String traffic_name) {
    this.traffic_name = traffic_name;
  }

  public String getTravel_contact() {
    return travel_contact;
  }

  public void setTravel_contact(String travel_contact) {
    this.travel_contact = travel_contact;
  }

  public String getJob_description() {
    return job_description;
  }

  public void setJob_description(String job_description) {
    this.job_description = job_description;
  }

  public String getAttachment() {
    return attachment;
  }

  public void setAttachment(String attachment) {
    this.attachment = attachment;
  }

  public String getInitiate_employee_name() {
    return initiate_employee_name;
  }

  public void setInitiate_employee_name(String initiate_employee_name) {
    this.initiate_employee_name = initiate_employee_name;
  }

  public long getDispose_status() {
    return dispose_status;
  }

  public void setDispose_status(long dispose_status) {
    this.dispose_status = dispose_status;
  }
  public String getDispose_note() {
    return dispose_note;
  }

  public void setDispose_note(String dispose_note) {
    this.dispose_note = dispose_note;
  }

  public String getCustomer_name() {
    return customer_name;
  }

  public void setCustomer_name(String customer_name) {
    this.customer_name = customer_name;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getContact_name() {
    return contact_name;
  }

  public void setContact_name(String contact_name) {
    this.contact_name = contact_name;
  }


  public Customer getCustomer() {
    return customer;
  }

  public void setCustomer(Customer customer) {
    this.customer = customer;
  }

  public Contact getContact() {
    return contact;
  }
  public void setContact(Contact contact) {
    this.contact = contact;
  }

  public String getSearch_initiate_employee_name() {
    return search_initiate_employee_name;
  }

  public void setSearch_initiate_employee_name(String search_initiate_employee_name) {
    this.search_initiate_employee_name = search_initiate_employee_name;
  }

  public String getSearch_reserve_employee_name() {
    return search_reserve_employee_name;
  }

  public void setSearch_reserve_employee_name(String search_reserve_employee_name) {
    this.search_reserve_employee_name = search_reserve_employee_name;
  }

  public Date getInitiate_date() {
    return initiate_date;
  }

  public void setInitiate_date(Date initiate_date) {
    this.initiate_date = initiate_date;
  }

  public Date getStart_date() {
    return start_date;
  }

  public void setStart_date(Date start_date) {
    this.start_date = start_date;
  }

  public Date getEnd_date() {
    return end_date;
  }

  public void setEnd_date(Date end_date) {
    this.end_date = end_date;
  }

  public Date getDispose_date() {
    return dispose_date;
  }

  public void setDispose_date(Date dispose_date) {
    this.dispose_date = dispose_date;
  }

  public Date getInitiate_endDate() {
    return initiate_endDate;
  }

  public void setInitiate_endDate(Date initiate_endDate) {
    this.initiate_endDate = initiate_endDate;
  }

  public Date getStart_endDate() {
    return start_endDate;
  }

  public void setStart_endDate(Date start_endDate) {
    this.start_endDate = start_endDate;
  }

  public Date getEnd_endDate() {
    return end_endDate;
  }

  public void setEnd_endDate(Date end_endDate) {
    this.end_endDate = end_endDate;
  }

  @Override
  public String toString() {
    return "RepairOrder{" +
            "repair_id=" + repair_id +
            ", customer_id=" + customer_id +
            ", contact_id=" + contact_id +
            ", type_name='" + type_name + '\'' +
            ", reserve_employee_name='" + reserve_employee_name + '\'' +
            ", initiate_date='" + initiate_date + '\'' +
            ", start_date='" + start_date + '\'' +
            ", end_date='" + end_date + '\'' +
            ", traffic_name='" + traffic_name + '\'' +
            ", travel_contact='" + travel_contact + '\'' +
            ", job_description='" + job_description + '\'' +
            ", attachment='" + attachment + '\'' +
            ", initiate_employee_name='" + initiate_employee_name + '\'' +
            ", dispose_status=" + dispose_status +
            ", dispose_date='" + dispose_date + '\'' +
            ", dispose_note='" + dispose_note + '\'' +
            ", initiate_endDate='" + initiate_endDate + '\'' +
            ", start_endDate='" + start_endDate + '\'' +
            ", end_endDate='" + end_endDate + '\'' +
            ", customer=" + customer +
            ", contact=" + contact +
            ", customer_name='" + customer_name + '\'' +
            ", phone='" + phone + '\'' +
            ", contact_name='" + contact_name + '\'' +
            '}';
  }
}
